package com.chen.pfm;

import com.chen.pfm.slice.AboutMeSlice;
import com.chen.pfm.slice.AppGradeSlice;
import com.chen.pfm.slice.AppInfoAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class AppInfoAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        //版本信息
        super.setMainRoute(AppInfoAbilitySlice.class.getName());
        //应用评分
        addActionRoute("AppGradeSlice", AppGradeSlice.class.getName());
        //关于我们
        addActionRoute("AboutUsSlice", AboutMeSlice.class.getName());


    }
}
